/**
 * Created by Salted fish
 * Description:
 * User: 24539
 * Date：2021-08-04
 * Time: 18:52
 */
public class Test3 {
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.add(0,1);
        myArrayList.add(1,2);
        myArrayList.add(2,3);
        myArrayList.add(3,4);
        myArrayList.display();
        myArrayList.remove(2);
        myArrayList.display();
    }
}
